package com.ruoyi.job.domain;

import java.text.SimpleDateFormat;
import java.util.Date;

public class CuoWu {
   private Long projectId;
   private String projectName;
   private String recordTime;

    public CuoWu() {
    }

    public CuoWu(Long projectId, String projectName, String recordTime) {
        this.projectId = projectId;
        this.projectName = projectName;
        this.recordTime = recordTime;
    }

    public Long getProjectId() {
        return projectId;
    }

    public void setProjectId(Long projectId) {
        this.projectId = projectId;
    }

    public String getProjectName() {
        return projectName;
    }

    public void setProjectName(String projectName) {
        this.projectName = projectName;
    }

    public String getRecordTime() {
        return recordTime;
    }

    public void setRecordTime(Date recordTime) {
        if (recordTime != null) {
            SimpleDateFormat dateFormat = new SimpleDateFormat("yyyy-MM-dd");
            this.recordTime = dateFormat.format(recordTime);
        } else {
            this.recordTime = null;
        }
    }

}
